package com.xhsj.user.pms.patent.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xhsj.user.pms.patent.domain.TbPamJudgesIpr;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Author: liuqinghua
 * @Description:
 * @Data:2020/7/7
 */
public interface TbPamJudgesIprService {

    boolean save(TbPamJudgesIpr entity);

    TbPamJudgesIpr getById(Serializable id);

    boolean removeById(Serializable id);

    boolean removeByIds(Collection<? extends Serializable> idList);

    List<TbPamJudgesIpr> selectAll();

    IPage<TbPamJudgesIpr> selectPage(Map<String, Object> data);

    //删除技术领域对应的ipr根据技术领域的id
    int deleteByJudgesId(String judgesId);

    //获取技术领域对应的ipr根据技术领域id
    List<String> getJudgesIprs(String id);
}
